package com.cn.mapper.Works;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cn.entity.Works;
import com.cn.entity.Works_Comment;
import com.cn.vo.WorksVo.Comment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorksMapper extends BaseMapper<Works> {
    int showAll();
    List<Works_Comment> showCommentByWorksId();
    public List<Works_Comment> showAllcommentByAdmin(@Param("user_name") String user_name);
}
